home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 009 / flight.new < prev    next >
Text File  |  1984-02-15  |  2KB  |  103 lines

  1.  
  2.         Flight Simulator RGB Modifications
  3.  
  4.                 By: Andrew Tuline
  5.  
  6.                 CIS: 70465,1223
  7.  
  8.         The modifications included herein will allow an RGB
  9. monitor to show some colours using the Flight Simulator program.
  10. This modification is not perfect, nor is is very well tested.
  11. The user should make a copy of their Flight Simulator program
  12. using their favourite technique. As we know even the most
  13. obvious methods may elude us. Anyways, one of the bugs is, when
  14. the user enters the slew mode, the modifications are nullified.
  15. Basically, the technique is to intercept the disk vector and
  16. setup a port for the colour display adapter for the needed
  17. values. I certainly hope, that by disclosing this technique,
  18. Microsoft doesn't skin my hide. Anyways to modify your extra
  19. spare disk, boot up debug in DOS 2.0 and type the following:
  20.  
  21. Note: you need a system with at least 96K to use this
  22. modification as is. 
  23.  
  24. l cs:0 0 0 1
  25. a 0
  26. mov     ax,201
  27. mov     dx,0
  28. mov     cl,2
  29. mov     ch,27
  30. mov     bx,1000
  31. mov     es,bx
  32. xor     bx,bx
  33. int     13
  34. jmp     1000:0
  35. w cs:0 0 0 1
  36.  
  37.  
  38.  
  39. l cs:0 0 139 1
  40. a 0
  41. push    cs
  42. pop     ds
  43. mov     ax,0
  44. mov     es,ax
  45. es:
  46. mov     ax,[4c]
  47. mov     [70],ax
  48. es:
  49. mov     ax,[4e]
  50. mov     [72],ax
  51. mov     ax,48
  52. es:
  53. mov     [4c],ax
  54. es:
  55. mov     [4e],cs
  56. cli
  57. xor     ax,ax
  58. mov     ds,ax
  59. mov     es,ax
  60. mov     ss,ax
  61. mov     sp,c0b0
  62. mov     cx,200
  63. mov     si,7c00
  64. mov     di,500
  65. sti
  66. repz
  67. movsb
  68. jmp     0:7c18
  69.  
  70.  
  71. a 48
  72. pushf
  73. push    cs
  74. cs:
  75. mov     [74],ax
  76. mov     ax,5b
  77. push    ax
  78. cs:
  79. mov     ax,[74]
  80. jmp     F000:EC59  <- this is also saved at 1000:0070
  81. pushf
  82. push    ax
  83. push    dx
  84. mov     dx,3d8
  85. mov     al,0a
  86. out     dx,al
  87. inc     dx
  88. mov     al,20
  89. out     dx,al
  90. pop     dx
  91. pop     ax
  92. popf
  93. iret
  94. w cs:0 0 139 1
  95.  
  96.  
  97. The value 20 a couple of lines up sets up the colours for low
  98. intensity cyan/magenta/white. Good luck, and may the colours
  99. be with you.
  100.  
  101.  
  102. XA 7: of lines up sets up the colours for low
  103. intensity cyan/magenta/whit